home *** CD-ROM | disk | FTP | other *** search
/ PC Electronic Plus / PC Electronics Plus (Most Significant Bits)(1995).ISO / pcdc306 / bbsinst.bat < prev    next >
DOS Batch File  |  1995-04-14  |  3KB  |  91 lines

  1. echo off
  2. cls
  3. echo\
  4. echo       ┌────────────────────────────────────────────────────────────┐
  5. echo       │       PC-Draft-CAD   Installation  (BBS version)           │
  6. echo       │       This will create a START.BAT file apropriate for your│
  7. echo       │       display system. It creates 4 subdirectories for      │
  8. echo       │       fonts, drawings, libraries, and macros -- and copies │
  9. echo       │       the appropriate files to them.                       │
  10. echo       │                                                            │
  11. echo       │       This batch file is for those of you who              │
  12. echo       │       have obtained PC-Draft-CAD from a BBS and have       │
  13. echo       │       unpacked the three self extracting LHARC EXE files.  │
  14. echo       │                                                            │
  15. echo       │       If you got PC-Draft-CAD on disk, you should not      │
  16. echo       │       run this. Instead run the INSTALL.BAT file on the    │
  17. echo       │       floppy disk.                                         │
  18. echo       │                                                            │
  19. echo       │       You should have all the files from the three self-   │
  20. echo       │       extracting EXE files in one sub-directory before     │
  21. echo       │       running this.                                        │
  22. echo       │                                                            │
  23. echo       │       If you do not wish to continue, press Ctrl-C.        │
  24. echo       │                                                            │
  25. echo       └────────────────────────────────────────────────────────────┘
  26. echo\
  27. pause
  28. md fon
  29. md dwg
  30. md lib
  31. md mac
  32. copy *.fon fon
  33. del *.fon
  34. copy *.dwg dwg
  35. del *.dwg
  36. copy *.lib lib
  37. del *.lib
  38. copy *.mac mac
  39. del *.mac
  40. cls
  41. vidtest
  42. if errorlevel 7 goto HERCULES
  43. if errorlevel 5 goto VGACOLOR
  44. if errorlevel 4 goto VGAMONO
  45. if errorlevel 3 goto EGACOLOR
  46. if errorlevel 2 goto EGAMONO
  47. if errorlevel 1 goto CGA
  48. echo  Error in detecting video adapter
  49. goto exit
  50. :HERCULES
  51. set vtype=Hercules
  52. copy hgcstart.bat start.bat
  53. del vgadrv.com
  54. del cgadrv.com
  55. del svgadrv.com
  56. goto exit
  57. :VGACOLOR    
  58. set vtype=VGA-Color
  59. goto VGA
  60. :EGACOLOR
  61. set vtype=EGA-Color
  62. goto VGA
  63. :VGAMONO    
  64. set vtype=VGA-Mono
  65. copy cga.cfg draft3.cfg
  66. goto MONO
  67. :EGAMONO    
  68. set vtype=EGA-Mono
  69. :MONO
  70. copy cga.cfg draft3.cfg
  71. :VGA
  72. copy vgastart.bat start.bat
  73. del hgcdrv.exe
  74. goto exit
  75. :CGA
  76. set vtype=CGA
  77. copy cgastart.bat start.bat
  78. copy cga.cfg draft3.cfg
  79. :exit
  80. echo             You have a %vtype% type video display
  81. :exit2
  82. echo\
  83. echo       ┌────────────────────────────────────────────────────────────┐
  84. echo       │  Installation is complete. To start PC-Draft-CAD, enter:   │
  85. echo       │                                                            │
  86. echo       │                       START                                │
  87. echo       └────────────────────────────────────────────────────────────┘
  88. echo\
  89. echo\
  90.  
  91.